package cn.edu.sdjzu.xg.eagle.entities;

public class Material {
    private int materialId;
    private String materialName;
    private String storageLocation;
    private String status;
    private int totalQuantity;
    private int stockQuantity;


    public Material(String materialName, String storageLocation, String status, int totalQuantity, int stockQuantity) {
        this.materialName = materialName;
        this.storageLocation = storageLocation;
        this.status = status;
        this.totalQuantity = totalQuantity;
        this.stockQuantity = stockQuantity;
    }



    // 重写toString方法
    @Override
    public String toString() {
        return "Material{" +
                "materialId=" + materialId +
                ", materialName='" + materialName + '\'' +
                ", storageLocation='" + storageLocation + '\'' +
                ", status='" + status + '\'' +
                ", totalQuantity=" + totalQuantity +
                ", stockQuantity=" + stockQuantity +
                '}';
    }
}
